package com.bsy.framework.task

import com.bsy.framework.BuildConfig
import com.bsy.framework.base.BaseApplication
import com.bsy.framework.helper.AppHelper
import com.bsy.stater.task.Task

/**
 * Created by Sincerity on 2024/3/5.
 * Copyright
 * 描述：
 */
class APPHelperTask(private val application: BaseApplication) : Task() {
    //异步线程执行的Task在被调用await的时候等待
    override fun needWait(): Boolean {
        return true
    }

    override fun run() {
        AppHelper.init(application, BuildConfig.DEBUG)
    }
}